﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Community.aspx.cs" Inherits="Pages_Community" ValidateRequest="false"%>
<%@ Import Namespace="CoyoEden" %>
<%@ Register Src="~/Views/TopicList.ascx" TagName="TopicList" TagPrefix="uc" %>
<%@ Register Src="~/User controls/QuickReply.ascx" TagName="QuickReply" TagPrefix="uc" %>
<asp:content id="Content1" contentplaceholderid="cphBody" runat="Server">
	<div class="nav">
		<a href="<%=Utils.AbsoluteWebRoot %>Communities.aspx" title="">返回社区首页</a> | <a href="#quickreplybox" title="发表主题">发表主题</a>
	</div>
	<uc:TopicList ID="TopicList1" runat="server" />
	<div class="sep"></div>
	<uc:QuickReply ID="quickReply1" runat="server" />
	<script type="text/javascript">
	<!--
		$(document).ready(function() {
			if (TopicList) {
				TopicList.Init({
					Asmx: "<%=Utils.AbsoluteWebRoot %>App_Services/Topic.asmx/",
					CommunityID: "<%=CommunityID %>",
					InitPagerStr: '<%=InitPagerStr %>',
					ViewPath: "<%=TopicListViewPath %>"
				});
				if (TopicList.InitPager == "") return;
				var initPager = $.evalJSON(TopicList.InitPager);
				SimplePager.Init(initPager, TopicList.Select);
			}
		});

	//-->
	</script>
</asp:content>